package com.leileimann.tour.mapper;

import com.leileimann.tour.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author leileiMann
 * @date 2022/3/27 21:13
 */
@Mapper
@Repository
public interface AdminMapper {
    /**管理员登录使用，通过手机号码和密码搜索是否有该管理员*/
    Admin adminLogin(@Param("tel")String tel, @Param("password")String password);
}
